<template>
  <div>
    <h3>我是父组件</h3>
    <hr>
    <SonF value="123" xxx="123" class="abc" src="https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png" @click="sonClick" @xxx="sonClick" @ooo="oooEvent" />
    <!-- scoped:只管当前组件与子组件最外层 -->
  </div>
</template>
<script>
import SonF from './components/SonF.vue'
export default {
  components: {
    SonF
  },
  methods: {
    sonClick() {
      console.log('sonClick')
    },
    oooEvent() {
      console.log('oooEvent')
    }
  }
}
</script>
<style>
</style>>
